<%--
  Created by IntelliJ IDEA.
  User: 祺诺
  Date: 2020/12/28
  Time: 14:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>学生成绩列表</title>
</head>
<body>
<table align="center" width="60%" border="1">
    <tr align="center">
        <th>学生编号</th>
        <th>学生姓名</th>
        <th>学生年龄</th>
        <th>学生成绩</th>
    </tr>
    <c:forEach items="${list}" var="stu" varStatus="id">
        <tr>
            <td>${id.count}</td>
            <td>${stu.name}</td>
            <td>${stu.age}</td>
            <td>${stu.score}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
